<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>蘑菇街——列表页</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta name="copyright" content="">
		<link rel="icon" href="" type="image/x-icon">
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/css/header.css" >
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/css/pkg-index.css" >
		<link rel="stylesheet" href="{{__PUBLIC__}}/Home/css/list.css" />
		<script type="text/javascript" src="{{__PUBLIC__}}/Home/jquery-1.8.js"></script>
		<script type="text/javascript" src="{{__PUBLIC__}}/Home/js/pkg-pc-base.js"></script>
	</head>
	<!--载入公共模板 头部-->
		{{include file="VIEW_PATH/Common/header.php"}}
		<!-- 点击哪个就出现哪个 -->
						<script type="text/javascript">
//							$(function(){
//								$('.nav_list li').click(function(){
//									$(this).addClass('on').siblings().removeClass('on');
//									
//									
//								});
//							})

						</script>
		

		<div id="body_wrap" >
		
			<div class="wrap" style="">
				<!-- 头部类目导航 -->
				<div class="sp_topbanner clearfix" id="sp_topbanner">
					<div class="sp_top_nav" style="">
					<!-- table切换 -->
					<!-- 顶级分类 -->
						<ul class="nav_list" style="">
							<li ><a href="{{U('Index/index')}}">首页</a></li>
							{{list from="$cateData" name="$v" row="9"}}
							<li {{if value="$_GET['cid'] eq $v['cid']"}}class="on"{{endif}}><a  href="{{U('Lists/index',array('cid'=>$v['cid']))}}" >{{$v['cname']}}</a></li>
							{{endlist}}
						</ul>
						
						<span style="left: 16px;"></span>
					</div>

				</div><br />
			<!-- 属性筛选 -->
				<div class="a_box">
					{{foreach from="$goodsAttr" key="$k" value="$v"}}
					<ul style="">
						<li>
							<span>{{$v['name']}}:</span>
							<?php
								$temp=$param;
								$temp[$k]=0;
							?>
							<a href="{{U('Lists/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp)))}}" {{if value="$param[$k] eq 0"}}class="hover"{{endif}}>全部</a>
							
							{{foreach from="$v['value']" value="$value"}}
							<?php
								$temp[$k]=$value['gtid'];
								?>
							<a href="{{U('Lists/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp)))}}" {{if value="$param[$k] eq $value['gtid']"}}class="hover"{{endif}}>{{$value['gtvalue']}}</a>
							{{endforeach}}
						</li>
					</ul>
					{{endforeach}}
				</div>
				
<!-- ======================================================= -->
		
				<!-- 价格筛选 -->
				<h3 class="sub_title" id="category_all">冬季新品</h3>
				<form action="" class="price_custom" method="GET">
					<div class="sp_filter clearfix sort_nav">
						<div class="nav_left fl">
							<a class="sort on" href="">综合</a>
							<a class="sort " href="">销量</a>
							<a class="sort " href="">最新</a>
							<div class="price">

								<div class="txt">
									<span class="rmb">￥</span>
									<input class="from" name="minPrice" type="text">
								</div>
								<span class="divid">-</span>
								<div class="txt">
									<span class="rmb">￥</span>
									<input class="to" name="maxPrice" type="text">
								</div>
								<a class="sbt" href="#">确定</a>
							</div>
							<ul class="price_choice">
								<li class="price_citem"><a href="">75-98</a></li>
								<li class="price_citem"><a href="">98-128</a></li>
								<li class="price_citem"><a href="">128-299</a></li>
							</ul>
						</div>
						<div class="nav_right fl">

							<div class="nav_inner">
								<span class="nav_more"></span>
								<div class="filters">
									<a class="mgl">
										<input id="tagmarknew" value="marknew" name="" type="checkbox">
										<label for="tagmarknew">新品</label>
									</a>
									<a class="mgl">
										<input id="tagshipai" value="shipai" name="" type="checkbox">
										<label for="tagshipai">实拍</label>
									</a>
								</div>
							</div>
						</div>
					</div>
				</form>
				<!-- 筛选表单结束 -->

				<!-- 商品图片展示 -->
				
				<!--图片商品----展示部分-->
				<div class="imagewall clearfix" id="imagewall_container" >
					{{foreach from="$goodsData" value="$field"}}
					<div class="iwf" >
						<a  href="{{U('Content/index',array('gid'=>$field['gid']))}}" class="img" target="_blank"><img src="{{__ROOT__}}/{{$field['pic']}}" alt=""></a>
						<p class="title"><a  href="{{U('Content/index',array('gid'=>$field['gid']))}}" target="_blank" style="width:220px">{{$field['gname']}}</a></p>
						<div class="goods_info"><b class="price_info"><i>￥</i>{{$field['shopprice']}}</b><span class="fav_num">15001</span></div>
					</div>
					{{endforeach}}

				</div>
				
			</div>

		</div>
		<!-- 载入公共底部 -->
			{{include file="VIEW_PATH/Common/footer.php"}}
	</body>

</html>